feat: proxy support for scanner sub-processes#42
Merged
Conversation
…te jobs Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/231c9a5e-5d90-4f75-8bb7-4ec5735cc9a4 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/734b13c0-09da-42c8-868f-cc99fc32e894 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/a41f6b16-bfd6-4785-aec8-72969ebf9930 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/9d41cf10-0bb6-4662-88e8-c139b5a938a8 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/db46e029-2367-45a5-b96f-886ec177d6aa Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/40f43d9a-5370-4b44-86e2-ac31f8a9e7c5 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Nitr4x
April 24, 2026 17:18
View session
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/1319baa4-15ed-4d9a-ac67-a4dd402f4f83 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/7ea85c3d-5d2e-4a3e-ad0b-aa4d375a5b04 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/a11ee402-225f-4eed-a92b-c60f637b1a56 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
…oxy usage Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/70408c73-0d9e-4d12-bcc3-270d9453638a Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Nitr4x
reviewed
Apr 27, 2026
| eng.Initialize(config) | ||
| if err := eng.Initialize(config); err != nil { | ||
| logger.Error(err.Error()) | ||
| os.Exit(1) |
Contributor
Author
There was a problem hiding this comment.
Changed to os.Exit(-2) in commit 0b20b49.
Agent-Logs-Url: https://github.com/ParanoiHack/ScopeGuardian/sessions/6acf3968-89b3-498c-aa70-631d39b4bf34 Co-authored-by: Nitr4x <10544300+Nitr4x@users.noreply.github.com>
Nitr4x
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds HTTPS proxy support documentation and fixes the engine initialization exit code.
--cap-add SYS_PTRACEnote to the Running with Docker section of the README, explaining it is required when an HTTPS proxy is configured so that OpenGrep can bootstrap its bundled Python interpreter. Examples are provided fordocker run, Docker Compose, and GitHub Actions.os.Exit(1)toos.Exit(-2)inmain.gowheneng.Initializefails, to use a distinct exit code for engine initialization failures.Type of Change
How Has This Been Tested?
go build ./... go vet ./... go test ./...Checklist
go vet ./...passes)go test ./...)Screenshots / Output (if applicable)
N/A